﻿@model prjYan.Forum.Models.LocalPasswordModel

@using (Html.BeginForm("Manage", "AccountAdmin", new {area = "Admin"}, FormMethod.Post, new { @class = "form-horizontal" })) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()

     <div class="form-group">
        @Html.LabelFor(m => m.OldPassword, new { @class = "col-sm-3" })
        <div class="col-sm-4">
            @Html.PasswordFor(m => m.OldPassword, new { @class = "form-control" })
            @Html.ValidationMessageFor(m => m.OldPassword)
        </div>
    </div>
    
     <div class="form-group">
        @Html.LabelFor(m => m.NewPassword, new { @class = "col-sm-3" })
        <div class="col-sm-4">
            @Html.PasswordFor(m => m.NewPassword, new { @class = "form-control" })
            @Html.ValidationMessageFor(m => m.NewPassword)
        </div>
    </div>
    <div class="form-group">
        @Html.LabelFor(m => m.ConfirmPassword, new { @class = "col-sm-3" })
        <div class="col-sm-4">
            @Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control" })
            @Html.ValidationMessageFor(m => m.ConfirmPassword)
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-3 col-sm-10">
            <button type="submit" class="btn btn-default">Cập nhật</button>
        </div>
    </div>
}
